<?php /* Smarty version 2.6.13, created on 2011-05-23 00:50:01
         compiled from paramters-sellbuy.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'cycle', 'paramters-sellbuy.tpl', 17, false),)), $this); ?>
<div class="wrapper fr-content">
    	<div class="fr-selectbox">
        	* Sell Currency Fee
        </div>	
        <div class="fr-grid">
        	<table width="100%" cellpadding="0" cellspacing="0">
            	<tr>
                	<th width="5%" style="text-align:center"><input type="checkbox" /></th>
                    <th width="34%" style="text-align:left">Sell Currency</th>
                    <th width="10%" style="text-align:left">Sell</th>
                    <th width="10%" style="text-align:left">Sell Fee %</th>
                    <th width="10%" style="text-align:left">Bank Fee</th>
                    <th width="31%" style="text-align:left">Current Limit</th>
                </tr>	
                <tbody id="sellfeetable">
					<?php $_from = $this->_tpl_vars['ALLSELLFEE']['data']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['cat'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['cat']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['item']):
        $this->_foreach['cat']['iteration']++;
?>
                    	<tr class="grid<?php echo smarty_function_cycle(array('values' => ",grey"), $this);?>
">
                            <td style="text-align:center"><input type="checkbox" /></td>
                            <td style="text-align:left"><?php echo $this->_tpl_vars['item']->ecurrency_name; ?>
</td>
                            <td style="text-align:left"><?php if ($this->_tpl_vars['item']->currency_type == '1'): ?>Yes<?php endif; ?></td>
                            <td style="text-align:left"><?php echo $this->_tpl_vars['item']->fee_percent; ?>
</td>
                            <td style="text-align:left"><?php echo $this->_tpl_vars['item']->bank_fee; ?>
</td>
                            <td style="text-align:left"><?php echo $this->_tpl_vars['item']->amount_litmit; ?>
</td>
                        </tr>	
                    <?php endforeach; endif; unset($_from); ?>
                </tbody>   
        	</table>
            <div class="fr-action">
            	<div class="action left">
                	<a href="?mod=<?php echo $_GET['mod']; ?>
&sub1=<?php echo $_GET['sub1']; ?>
&act=new&type=sell">Add currency fee</a> || Delete currency fee
                </div>
                <div class="fr-sharepage right">
                	&laquo; First  &lsaquo; Pre | Next &rsaquo; Last &raquo;
                </div>
                <div class="clear"></div>
            </div>
        </div>
        
        <div class="fr-selectbox">
        	* Buy Currency Fee
        </div>	
        <div class="fr-grid">
        	<table width="100%" cellpadding="0" cellspacing="0">
            	<tr>
                	<th width="5%" style="text-align:center"><input type="checkbox" /></th>
                    <th width="34%" style="text-align:left">Buy Currency</th>
                    <th width="10%" style="text-align:left">Buy</th>
                    <th width="10%" style="text-align:left">Buy Fee %</th>
                    <th width="10%" style="text-align:left">Bank Fee</th>
                    <th width="31%" style="text-align:left">Current Limit</th>
                </tr>	
                <tbody id="buyfeetable">
					<?php $_from = $this->_tpl_vars['ALLBUYFEE']['data']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['cat'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['cat']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['item']):
        $this->_foreach['cat']['iteration']++;
?>
                    	<tr class="grid<?php echo smarty_function_cycle(array('values' => ",grey"), $this);?>
">
                            <td style="text-align:center"><input type="checkbox" /></td>
                            <td style="text-align:left"><?php echo $this->_tpl_vars['item']->ecurrency_name; ?>
</td>
                            <td style="text-align:left"><?php if ($this->_tpl_vars['item']->currency_type == '2'): ?>Yes<?php endif; ?></td>
                            <td style="text-align:left"><?php echo $this->_tpl_vars['item']->fee_percent; ?>
</td>
                            <td style="text-align:left"><?php echo $this->_tpl_vars['item']->bank_fee; ?>
</td>
                            <td style="text-align:left"><?php echo $this->_tpl_vars['item']->amount_litmit; ?>
</td>
                        </tr>	
                    <?php endforeach; endif; unset($_from); ?>
                </tbody> 
        	</table>
            <div class="fr-action">
            	<div class="action left">
                	<a href="?mod=<?php echo $_GET['mod']; ?>
&sub1=<?php echo $_GET['sub1']; ?>
&act=new&type=buy">Add currency fee</a> || Delete currency fee
                </div>
                <div class="fr-sharepage right">
                	&laquo; First  &lsaquo; Pre | Next &rsaquo; Last &raquo;
                </div>
                <div class="clear"></div>
            </div>
        </div>
    </div>